package com.ruoyi.hospital.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 患者
 * @author liz
 * @date 2023-10-18 10:34
 */
@Data
public class HPatient extends BaseEntity {

    /** id */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /** 姓名 */
    @Excel(name = "姓名")
    private String name;
    /** 住院号 */
    @Excel(name = "住院号")
    private String inpatientNo;
    /** 住院次 */
    @Excel(name = "住院次")
    private String admissTimes;
    /** 病区名称 */
    @Excel(name = "病区名称")
    private String wardName;
    /** 出科时间 */
    @Excel(name = "出科时间", dateFormat = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime effectiveE;
    /** 床号 */
    @Excel(name = "床号")
    private String bedNo;
    /** 医保身份 */
    @Excel(name = "医保身份")
    private String respName;
    /** 住院ID */
    private String patientId;
    /** 病区ID */
    private String disWard;
    /** 科室ID */
    private String disDept;
    /** 科室名称 */
    @TableField(exist = false)
    @Excel(name = "科室名称")
    private String disDeptName;
    /** 结算状态 */
    @Excel(name = "结算状态")
    private String settleName;
    /** 结算状态ID */
    private String settleType;
    /** 结算单PDF */
    private String jsdPdfId;
    /** 删除标志 */
    private String delFlag;
    /** 报销状态 */
    private String status;
    /** 登录用户ID */
    @TableField(exist = false)
    private Long userId;
    /**超链接*/
    private String emrWeb;
}
